package com.sys.app.entity.emum;

import com.baomidou.mybatisplus.annotation.IEnum;


public enum ResultEnum implements IEnum<Integer> {
    SUCCESS(0, "成功"),
    ERROR(1, "失败"),
    UNAUTHORIZED(500, "未认证");

    ResultEnum(Integer value,String desc){
        this.value=value;
        this.desc=desc;
    }

    private final  Integer value;
    private final String desc;

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }

}
